<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.sql.*" errorPage=""%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta nnme="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
	<jsp:useBean id="LogBean" scope="session" class="Bean.dbConn"/>
<%
request.setCharacterEncoding("UTF-8");
String myid = (String)session.getAttribute("userid");

	int sum = LogBean.executeUpdate("INSERT INTO testleixin(myid,testtype) VALUES (" + 
	"'" + myid + "'" + "," +
	"'SAS'" + ")");
	


	LogBean.closeConn();
	response.sendRedirect("SAS.jsp");



%>

</body>
</html>